package com.foogui.bootrabbitmq.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Msg implements Serializable {
    private static final long serialVersionUID = 2100914090841804996L;
    /**
     * id
     */
    private String id;
    /**
     * 消息体
     */
    private String body;
    /**
     * 时间戳
     */
    private Date timestamp;
}
